page {
    height: 100vh;
  }
  .index-page {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(179.96deg, #FFFFFF 7.67%, #FFECEB 58.76%);
    padding-bottom: 120px; /* 为固定的图片上传区域留出空间 */
  }
  .top-fixed-area {
    position: fixed; /* 固定定位 */
    top: 0; /* 固定在顶部 */
    left: 0;
    right: 0;
    width: 94%;
    margin: auto;
    background: #FFFFFF; /* 白色背景 */
    z-index: 1000; /* 最高层级 */
    padding: 0 3%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* 垂直布局 */
    justify-content: space-between;
    
    .top-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20rpx 0 15rpx 0; /* 调整底部内边距 */
      
      .iconfont {
        font-size: 24px;
      }
      
      .logo {
        width: 245rpx;
        height: 70rpx;
      }
    }
    
    .bottom-row {
      display: flex;
      justify-content: space-between; /* 改为space-between，让按钮分布在两侧 */
      align-items: center;
      padding: 15rpx 0 20rpx 0; /* 调整顶部内边距 */
      
      .button-container {
        display: flex;
        align-items: center;
        gap: 12px; /* 按钮之间的间距 */
      }
    }
  }

.icon-a-huaban1fuben44 {
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 8rpx 16rpx; /* 添加内边距，与按钮高度保持一致 */
    border-radius: 16.5px; /* 与按钮圆角保持一致 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72rpx; /* 与按钮高度保持一致 */
    box-sizing: border-box;
}

.icon-a-huaban1fuben44:active {
    background-color: rgba(0, 0, 0, 0.1);
}

.draft-button {
    color: #787878;
    font-family: Noto Sans SC;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    border: 0.75px solid #B9B9B9;
    background-color: transparent;
    min-width: 75px;
    height: 72rpx;
    border-radius: 16.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.draft-button:hover {
    background-color: rgba(185, 185, 185, 0.1);
    border-color: #999;
}

.draft-button:active {
    background-color: rgba(185, 185, 185, 0.2);
    transform: scale(0.98);
}

.publish-button {
    position: relative; /* 改为relative */
    /* 文字样式 */
    color: #0A4CE9;
    font-family: Noto Sans SC;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    white-space: nowrap;
    /* 按钮边框 */
    border: 0.75px solid #0A4CE9;
    background: #D2DCF6;
    min-width: 80px; /* 改为min-width，确保能显示文字 */
    height: 72rpx;
    border-radius: 16.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px; /* 添加左右内边距 */
    box-sizing: border-box; /* 确保padding不会影响总宽度 */
    // overflow: visible; /* 确保内容不会溢出 */
    z-index: 1; /* 设置较低的z-index */
}


.input-group {
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 15px;
    width: 51;
}

.title-input {
    font-family: Noto Sans SC;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 138%;
    letter-spacing: 1.29px;
    width: 100%;
    height: 40px;
    resize: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 发布状态提示样式 */
.publish-status-hint {
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding: 8px 0;
}

.publish-status-hint .iconfont {
    font-size: 14px;
    color: #666;
    margin-right: 6px;
}

.hint-text {
    font-size: 12px;
    color: #666;
    font-family: Noto Sans SC;
}

.content-input {
    font-family: Noto Sans SC;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 138%;
    letter-spacing: 1.29px;
    width: 100%;
    min-height: 400px;
    resize: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 发布可见性选择区域 */
.visibility-section {
    position: fixed;
    bottom: 160px; /* 增加距离，确保不被upload-section遮挡 */
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border-top: 1px solid #eee;
    z-index: 98; /* 低于upload-section的z-index */
}

.status-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.status-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 72rpx;
    padding: 0 24px;
    border: 0.75px solid #B9B9B9;
    border-radius: 16.5px;
    background-color: #fff;
    cursor: pointer;
    // transition: all 0.3s ease;
}

.status-option.active {
    border-color: #0A4CE9;
    background: #D2DCF6;
}

.status-label {
    font-size: 14px;
    color: #787878;
    font-family: Noto Sans SC;
    font-weight: 400;
}

.upload-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 8px 8px 0 0;
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.upload-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.image-list {
    display: flex;
    flex-wrap: wrap;
}

.image-item, .upload-btn {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    margin-bottom: 10px;
    position: relative;
}

.image-item image {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.image-item .icon-shanchu1 {
    position: absolute;
    top: -8px;
    right: -8px;
    color: #FF744E;
    font-size: 16px;
    background-color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
}

.upload-btn {
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.upload-btn .iconfont {
    font-size: 24px;
    color: #999;
}



/* 标题区域样式 */
.title-section {
    padding: 15rpx 0;
    margin-bottom: 0;
}

/* 内容区域样式 */
.content-section {
    padding: 15rpx 0;
    margin-top: 0;
}

  .main-content {
    margin-top: 160px; /* 为合并后的top-fixed-area留出空间 */
    width: 100%;
    box-sizing: border-box;
  }


/* 个人中心侧边栏样式 */
.pcenter-sider {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}